home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / XINE-1.ZIP / INJECTOR.ZIP / DOC / BLTIN next >
Encoding:
Text File  |  1996-10-25  |  2.9 KB  |  62 lines

  1. List of built-in command that can be activated with do:
  2.  
  3. inject:
  4.     Sends the packet in the file refered by the variable "infile". If
  5.     "filleth" is defined then the ethernet from field is filled
  6.     by the current ethernet from address. The same for "fillethto". 
  7.  
  8. injectip:
  9.     Sends the packet in the file refered by the variable "infile". If
  10.     "filleth" is defined then the ethernet from field is filled by the
  11.     current ethernet from adress. The same for "fillethto". If the 
  12.     variable "fillipfrom" is defined then the value of "myip" is
  13.     set instead of the "From IP" in the original packet. If the
  14.     variable "fillipto" is defined then the value of the "toip" is
  15.     set instead of the "To IP" in the original packet. If the
  16.     variable "portto" is set then the destination port of the packet
  17.     is changed to the value of "portto". If the variable "portfrom" is
  18.     set then the source port of the packet is changed to the value of
  19.     "portfrom". The port modifications applies only to TCPIP or UDPIP
  20.     packets. Of course after all these changes all the checksums are
  21.     recalculated where needed.
  22.  
  23. rawlog:
  24.     Starts raw logging to file raw.log until a key is pressed.
  25.  
  26. getarp:
  27.     Generates an ARP request for the IP adress defined by the variable
  28.     "arpip" and stores the HW adress from the reply (of course if
  29.     there has been a reply in  a short time) into the current ethernet
  30.     FROM adress. If the variable "myarpip" is defined then the arp
  31.     requested will be made as from the IP defined by the "myarpip"
  32.     value.
  33.  
  34. getarpto:
  35.     Generates an ARP request for the IP adress defined by the variable
  36.     "arpip" and stores the HW adress from the reply (of course if
  37.     there has been a reply in a short time) into the current ethernet
  38.     TO adress. If the variable "myarpip" is defined then the arp
  39.     requested will be made as from the IP defined by the "myarpip"
  40.     value.
  41.  
  42. flood:
  43.     Sends the packet in the file refered by the variable "infile" for
  44.     an amount of time that is defined in the variable "pktnumber".
  45.  
  46. synflood:
  47.     This is a more complex example of flooding. Infact this will try
  48.     to flood the server specified by the variable "synip" (ex. set
  49.     synip 192.166.123.2) sending TCP request to start a connection
  50.     (SYNs) from host port specified by the variable "synportfrom" to
  51.     the host port specified by the variable "synportto" (ex. if you
  52.     set synportfrom to 5 and synportto to 15 it will send requests to
  53.     start a TCP connections to all the ports from 5 to 15). The number
  54.     of SYN packets that will be sent is defined by the variable
  55.     "synpkt" (ex. set synpkt 20 will sent 20 packets to each port from
  56.     the synportfrom to the synportto). This functionw will also
  57.     provide to change randomly the source port and the source IP.
  58.     Remember that TCP packets in an ethernet network MUST have the
  59.     real destination hardware adress (or the gateway hardware adress
  60.     if you would like to go from your local network).
  61.  
  62.